﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;


namespace Icst.Leaflike.Web
{
    public abstract class pagegather : pagebase
    {
        protected int uid 
        { 
            get 
            {
                if (!string.IsNullOrEmpty(Request["uid"]))
                    return int.Parse(Request["uid"]);
                else if (IsLogon)
                    return (int)UserId;
                return -1;
            }
        }
    }
}
